package com.my.client.util;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

public class FormMap {
private Map<String,String> map = null;
public FormMap(){
	map = new HashMap<String,String>();
}
public void  put(String key,String value){
  map.put(key, value);
}

public String get(String key){
	return map.get(key);
}
public String  toParseString(){
	StringBuilder sb = new StringBuilder();
	Iterator<String> it = map.keySet().iterator();
    while(it.hasNext()){
    	String key = it.next();
    	String value = map.get(key);
    	sb.append(key).append("=>").append(value).append("\n");
    }
    return sb.toString();
}
}
